/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package de.titama.model;

import javafx.beans.property.SimpleStringProperty;

/**
 *
 * @author tmuel_000
 */
public class Task {
    
    private SimpleStringProperty name;
    private SimpleStringProperty priority;
    private SimpleStringProperty created;
    private SimpleStringProperty due;
    private SimpleStringProperty category;
    
    public Task()
    {
    
    }
    
    public Task(String name, String priority, String created, String due, String category)
    {
        this.name = new SimpleStringProperty(name);
        this.priority = new SimpleStringProperty(priority);
        this.created = new SimpleStringProperty(created);
        this.due = new SimpleStringProperty(due);
        this.category = new SimpleStringProperty(category); 
    }
    
    public String getName()
    {
        return name.get();
    }
    
    public String getPriority()
    {
        return priority.get();
    }
        
    public String getCreated()
    {
        return created.get();
    }
            
    public String getDue()
    {
        return due.get();
    }
                
    public String getCategory()
    {
        return category.get();
    }

    
}
